package com.travelzen._21.concurrent;

public class Practice_1 implements Runnable {

	@Override
	public void run() {
		System.out.println("task start____");
		for (int i = 0; i < 4; i++) {
			System.out.println("!!!!!");
			Thread.yield();
		}
		System.out.println("task end____");
	}

	public static void main(String[] args) {
		for(int i =0;i<1000;i++){
			new Thread(new Practice_1()).start();
		}
	}

}
